//
//  diyKeyBoardBar.m
//  12-多个TextFiled
//
//  Created by wangneihan on 15/12/24.
//  Copyright © 2015年 wangneihan. All rights reserved.
//

#import "diyKeyBoardBar.h"

@interface diyKeyBoardBar()

-(IBAction)itemClick:(id)sender;

@end


@implementation diyKeyBoardBar

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

+(instancetype)diykeyboardbar
{
    return [[[NSBundle mainBundle]loadNibNamed:@"diyKeyBoardBar" owner:nil options:nil] lastObject];
}

-(IBAction)itemClick:(id)sender{
    if([self.delegate respondsToSelector:@selector(diyKeyBoardBarClick:btndidSelected:)])
    {
        [self.delegate diyKeyBoardBarClick:self btndidSelected:sender];
    }
}


@end
